home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / dobbs / nov95 / krtef101.gif < prev    next >
Graphics Interchange Format  |  1996-06-11  |  106KB  |  525x527  |  4-bit (16 colors)
Labels: text | map | screenshot | diagram | plan | number | parallel | rectangle | schematic
OCR: stack it assumes is left, and how much to free block. Figures 1(d), 1(e), and 10) are reserve for the main task. examples of this. (a) (b) Stack 2000 main :2000 main Pointer 10000 5000 start Stack Original (a,5000) Grows Init Main (12000,2000) S Down Stack 5000. Unix a returns b returns b returns start (b,3000) (e) (d) 2000 main 2000 main 2000 main 3000 start 5000 5000 iel (a,3000) a returns C++ 2000 3000 3000 start 3000 b a returns (a,5000) b . 2000 2000 . 2000 Figure 1: (a) Stack before initialization; (b) stack after initialization; 650 (C) starting a new task a with stack size 5000; (d) starting a new task b with stack size 3000; (e) a bas finished, leaving b between two free blocks, () a is CARD started again with a smaller stach size